package com.geovis.emergency.spd.entity.pc.pojo.dto;

import com.geovis.emergency.spd.entity.pc.entity.PcDrillDisasterEvent;
import com.geovis.emergency.spd.entity.pc.entity.PcSchedulingEvent;
import com.geovis.emergency.spd.entity.pc.pojo.vo.PcDrillDutyOrgVO;
import com.geovis.emergency.spd.entity.pc.pojo.vo.PcSchedulingEventVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 指挥系统的演练，保存配置方案提交参数
 * </p>
 */
@Data
public class PcDrillDisasterSchedulingDTO {
    @ApiModelProperty(value = "演练id")
    @NotBlank(message = "演练id不能为空")
    private String pcDrillId;

    @ApiModelProperty(value = "指挥调度事件")
    @NotNull(message = "指挥调度事件不能为空")
    private PcSchedulingEventVO schedulingEvent;

    @ApiModelProperty("组织架构与人员")
    @NotEmpty(message = "组织架构与人员不能为空")
    private List<PcDrillDutyOrgVO> dutyOrgList;
}
